package com.aaa.order.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.aaa.order.entity.TbAccAddress;
import com.aaa.order.dao.TbAccAddressMapper;
import com.aaa.order.service.TbAccAddressService;
@Service
public class TbAccAddressServiceImpl extends ServiceImpl<TbAccAddressMapper, TbAccAddress> implements TbAccAddressService{

    @Resource
    TbAccAddressMapper tbAccAddressMapper;

    public List<TbAccAddress> findByTbid(String accountId) {
        return tbAccAddressMapper.findByTbid(accountId);
    }

    public TbAccAddress findById(String tid) {
        return tbAccAddressMapper.selectById(tid);
    }
}
